Move "widget/window under device" accounting to be per-widget
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 29 Jan 2011 13:10:36 +0000 (14:10 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 29 Jan 2011 13:45:05 +0000 (14:45 +0100)
commit8a056d47743d926fbbf73e8c6f03b400ffc7cc20
treecdf53da3a385fd9ba3758022168715c0c72cb2ea
parent55713025c052716f899208e8988f1b01aa738f46
Move "widget/window under device" accounting to be per-widget

This management is better done per-widget rather than per-screen,
as windows being destroyed won't trigger a leave notify for the
devices on top of it, and this information is too transitive
to keep weak refs and such.

This fixes the critical warning seen in gtk/tests/testing.
gtk/gtkwidget.c